<template>
  <a-breadcrumb style="padding: 10px 50px; background: #fff" separator="/">
    <a-breadcrumb-item>工业智能物联网平台</a-breadcrumb-item>
    <a-breadcrumb-item v-for="(item, index) of breadCrumbList" :key="index">
      <!-- {{item.meta.title}} -->
      <span class="breadcrumb-label" @click="routeTo(item.url)">{{
          item.title
        }}</span>
      <!--        <router-link :to="{path: item.meta.url}">{{item.meta.title}}</router-link>-->
    </a-breadcrumb-item>
  </a-breadcrumb>
</template>

<script>
export default {
  name: 'Breacrumb',
  data () {
    return {
      breadCrumbList: []
    }
  },
  methods: {
    routeTo () {}
  }
}
</script>

<style scoped>

</style>
